package cn.wp.org.domain;

import cn.wp.basic.domain.BaseDomain;
import cn.wp.user.domain.LoginInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 员工类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    // 姓名
    private String username;
    // 邮箱
    private String email;
    // 手机号码
    private String phone;
    // 盐值
    private String salt;
    // 密码
    private String password;
    // 年龄
    private Integer age;
    // 状态   1 正常    -1 禁用
    private Integer state = 1;
    // 部门
    private Department department;
    // 店铺
    private Shop shop;
    private Long shop_id;
    private LoginInfo loginInfo;
}
